//
//  ScheduledLocationManager.h
//  iOS
//
//  Created by gongkai on 15/4/16.
//  Copyright (c) 2015年 &#21830;&#36194;&#22825;&#19979;. All rights reserved.
//


#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>

@protocol ScheduledLocationManagerDelegate <NSObject>

-(void)scheduledLocationManageDidFailWithError:(NSError*)error;
-(void)scheduledLocationManageDidUpdateLocations:(NSArray*)locations;

@end

@interface ScheduledLocationManager : NSObject <CLLocationManagerDelegate,UIAlertViewDelegate>

-(void)getUserLocationWithInterval:(int)interval;
-(void)stopUserLocation;
@property(nonatomic,weak) id<ScheduledLocationManagerDelegate> delegate;

@end